<template>
  <div id="app">
    <router-view/>

    <div class="Record">
      <div class="copyright">© 2020 - 现在 · 知行邦（http://zjdownload.xyhelp.cn/）版权所有</div>
      <div class="icp">
        <div @click="Integrated">
          <img class="img" src="@/assets/imgs/beianhao.png">渝ICP备19007243号 -
        </div>
        <div @click="toContact">
          <img class="img" src="@/assets/imgs/beian.png">知行邦工作组
        </div>
      </div>
      <div class="support">本站由阿里云提供云计算技术支持</div>
    </div>

  </div>
</template>

<script>
import DevicePixelRatio from '@/utils/devicePixelRatio';

export default {
  name: "App",
  data() {
    return {
      uri: 'https://beian.miit.gov.cn/#/Integrated/index',
    }
  },
  mounted() {
    // new DevicePixelRatio().init();
  },
  methods: {
    Integrated() {
      const uri = this.uri
      window.open(uri, '_blank')
    },
    toContact() {
      this.$router.push('/front/contact')
    },
  }
};
</script>

<style scoped>
.Record {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  width: 100%;
  background-color: #fff;
  color: #666666;
  margin-top: auto;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.img {
  margin-right: 5px;
}

.copyright, .icp, .support {
  margin: 2px;
}

.icp {
  margin: 2px;
  display: flex;
  flex-direction: row;
  cursor: pointer;
}
</style>